package com.mediacloud.app.newsmodule.activity;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.LinearLayout;

import com.mediacloud.app.newsmodule.R;
import com.mediacloud.app.newsmodule.view.RelatedVideoGrid;
import com.mediacloud.app.newsmodule.view.RelatedVideoH;

public class TestActivity extends AppCompatActivity {
    LinearLayout mTestContainer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);

        initView();
    }

    private void initView() {
        mTestContainer = findViewById(R.id.test_container);
        RelatedVideoH relateVideo = new RelatedVideoH(this);
        mTestContainer.addView(relateVideo);
        mTestContainer.addView(new RelatedVideoGrid(this));
    }
}